package com.yjymm.dao;

import com.yjymm.domain.COVIDData;
import com.yjymm.domain.RegionData;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Repository;
import org.springframework.web.client.RestTemplate;

import javax.annotation.PostConstruct;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.net.URI;
import java.net.URISyntaxException;
import java.time.LocalDate;
import java.time.Month;
import java.util.Date;
import java.util.Optional;
import java.util.stream.Stream;

/**
 * @author yjymm
 * @date 2020-05-09 17:13
 */

@Repository
public class COVIDDataDao {

    //返回的总数据
    private COVIDData covidData = new COVIDData();

    public COVIDData getCovidData(){
        return this.covidData;
    }

}
